package com.leisurexi.ioc.domain;


/**
 * @author: leisurexi
 * @date: 2020-06-14 22:49
 * @since JDK 1.8
 */
public class User {

	private Long id;
	private String name;

	private City city;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", name='" + name + '\'' +
				", city=" + city +
				'}';
	}
}
